package cn.neusoft.feignClients.fallback;


import cn.neusoft.feignClients.AdminFeignClient;
import cn.neusoft.vo.ResultBean;
import org.springframework.stereotype.Component;

@Component
public class AdminClientFallback implements AdminFeignClient {
    @Override
    public ResultBean getNormalSubstationTreeSelect() {
        return ResultBean.error(600,"管理员服务异常，熔断降级");
    }

    @Override
    public ResultBean getNormalWarehouseTreeSelect() {
        return ResultBean.error(600,"管理员服务异常，熔断降级");
    }
}
